package org.ch03.job.test00;

/**
 * @author XCH
 * @date 2025 - 03 - 25
 */
public class People<T> {
    private T pets;

    public People() {
    }

    public People(T pets) {
        this.pets = pets;
    }

    public T getPets() {
        return pets;
    }

    public void setPets(T pets) {
        this.pets = pets;
    }

    public void shopping(T pets)
    {
        System.out.println(pets+"会叫一下");
    }

}
